From 8ebf278ebb23799682af45de512667d0473c9067 Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 8 Jul 2009 16:59:14 +0200 Subject: [PATCH] Fix defaultvalue test due to csw Initialize GdkWindowAttr required fields. This makes sure toplevel windows are not accidentally larger than 16bit. --- gtk/tests/defaultvalue.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gtk/tests/defaultvalue.c b/gtk/tests/defaultvalue.c index 8451490948..3d3b988402 100644 --- a/gtk/tests/defaultvalue.c +++ b/gtk/tests/defaultvalue.c @@ -102,6 +102,9 @@ test_type (gconstpointer data) { GdkWindowAttr attributes; attributes.window_type = GDK_WINDOW_TEMP; + attributes.event_mask = 0; + attributes.width = 100; + attributes.height = 100; instance = g_object_ref (gdk_window_new (NULL, &attributes, 0)); } else -- 2.30.2